package cn.aitrox.ry.app.web.vo.auth.role.in;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AuthRoleUpdateInVo {

    @NotNull(message = "角色编号不能为空")
    private Integer id;

    private String name;

    private List<Integer> permissionIds;

}